package com.nari.ruist.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nari.common.core.annotation.Excel;
import com.nari.common.core.web.domain.BaseEntity;

/**
 * 请求实例主 对象 rst_request
 *
 * @author nari
 * @date 2021-04-02
 */
public class RstRequest extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 接口编号
     */
    @Excel(name = "接口编号")
    private String tranId;

    /**
     * 接口名称
     */
    @Excel(name = "接口名称")
    private String tranName;

    /**
     * 交易流水号
     */
    @Excel(name = "交易流水号")
    private String tranSeq;

    /**
     * 纳税人识别号
     */
    @Excel(name = "纳税人识别号")
    private String taxpayer;

    /**
     * 请求来源系统
     */
    @Excel(name = "请求来源系统")
    private String source;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    /**
     * 请求报文body
     */
    @Excel(name = "请求报文body")
    private String request;

    /**
     * 交易请求日期
     */
    @Excel(name = "交易请求日期")
    private String tranDateReq;

    /**
     * 交易请求时间
     */
    @Excel(name = "交易请求时间")
    private String tranTimeReq;

    /**
     * 返回报文body
     */
    @Excel(name = "返回报文body")
    private String response;

    /**
     * 税务返回日期
     */
    @Excel(name = "税务返回日期")
    private String tranDateRep;

    /**
     * 税务返回时间
     */
    @Excel(name = "税务返回时间")
    private String tranTimeRep;

    /**
     * 税务返回状态码
     */
    @Excel(name = "税务返回状态码")
    private String restCode;

    /**
     * 税务返回信息
     */
    @Excel(name = "税务返回信息")
    private String restMsg;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTranId(String tranId) {
        this.tranId = tranId;
    }

    public String getTranId() {
        return tranId;
    }

    public void setTranName(String tranName) {
        this.tranName = tranName;
    }

    public String getTranName() {
        return tranName;
    }

    public void setTranSeq(String tranSeq) {
        this.tranSeq = tranSeq;
    }

    public String getTranSeq() {
        return tranSeq;
    }

    public void setTaxpayer(String taxpayer) {
        this.taxpayer = taxpayer;
    }

    public String getTaxpayer() {
        return taxpayer;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSource() {
        return source;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setRequest(String request) {
        this.request = request;
    }

    public String getRequest() {
        return request;
    }

    public void setTranDateReq(String tranDateReq) {
        this.tranDateReq = tranDateReq;
    }

    public String getTranDateReq() {
        return tranDateReq;
    }

    public void setTranTimeReq(String tranTimeReq) {
        this.tranTimeReq = tranTimeReq;
    }

    public String getTranTimeReq() {
        return tranTimeReq;
    }

    public void setResponse(String response) {
        this.response = response;
    }

    public String getResponse() {
        return response;
    }

    public void setTranDateRep(String tranDateRep) {
        this.tranDateRep = tranDateRep;
    }

    public String getTranDateRep() {
        return tranDateRep;
    }

    public void setTranTimeRep(String tranTimeRep) {
        this.tranTimeRep = tranTimeRep;
    }

    public String getTranTimeRep() {
        return tranTimeRep;
    }

    public void setRestCode(String restCode) {
        this.restCode = restCode;
    }

    public String getRestCode() {
        return restCode;
    }

    public void setRestMsg(String restMsg) {
        this.restMsg = restMsg;
    }

    public String getRestMsg() {
        return restMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("tranId", getTranId())
                .append("tranName", getTranName())
                .append("tranSeq", getTranSeq())
                .append("taxpayer", getTaxpayer())
                .append("createTime", getCreateTime())
                .append("source", getSource())
                .append("status", getStatus())
                .append("request", getRequest())
                .append("tranDateReq", getTranDateReq())
                .append("tranTimeReq", getTranTimeReq())
                .append("response", getResponse())
                .append("tranDateRep", getTranDateRep())
                .append("tranTimeRep", getTranTimeRep())
                .append("restCode", getRestCode())
                .append("restMsg", getRestMsg())
                .toString();
    }
}
